package com.ecloud.aiassistantbackground.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 后台管理员权限中间表
 * </p>
 *
 * @author Squbirreland
 * @since 2021-04-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("assistant_admin_backstage_authority")
@ApiModel(value = "AdminBackstageAuthority对象", description = "后台管理员权限中间表")
public class AdminBackstageAuthority implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "管理员后台权限id")
    @TableId(value = "admin_backstage_authority_id", type = IdType.AUTO)
    private Integer adminBackstageAuthorityId;

    @ApiModelProperty(value = "管理员id")
    private Integer adminId;

    @ApiModelProperty(value = "后台权限id")
    private Integer backstageAuthorityId;

}
